package com.niiwoo.civet.mobile.vo.response.orgloan;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;

@Getter
@Setter
@ApiModel("机构极速借投资合同参数")
public class OrgLoanInvestContractResponseVO {

	@ApiModelProperty("投资人列表")
	private List<InvestUserVO> investUserList = new ArrayList<InvestUserVO>();
	@ApiModelProperty("借款人ID")
	private String borrowId;
	@ApiModelProperty("借款人姓名")
	private String borrowName;
	@ApiModelProperty("借款人邮箱")
	private String borrowEmail;
	@ApiModelProperty("借款金额")
	private BigDecimal borrowAmount;
	@ApiModelProperty("借款期限")
	private Integer deadline;
	@ApiModelProperty("借款期限单位(0:月，1:天)")
	private byte deadlineUnit;
	@ApiModelProperty("借款年利率")
	private BigDecimal yearRate;
	@ApiModelProperty("违约金")
	private BigDecimal penaltyRate;
	@ApiModelProperty("提醒服务费")
	private BigDecimal remindingServiceFee;
	@ApiModelProperty("借款还款方式")
	private Byte repaymentType;
	@ApiModelProperty("借款还款方式名称")
	private String repaymentTypeName;
	@ApiModelProperty("借款还款日期")
	private String refundDate;
	@ApiModelProperty("平台服务费")
	private BigDecimal borrowPlatformServiceFee;
	@ApiModelProperty("平台管理费")
	private BigDecimal borrowPlatformManageFee;
	@ApiModelProperty("担保费")
	private BigDecimal guaranteeFee;
	@ApiModelProperty("车马费")
	private BigDecimal horseFee;
	@ApiModelProperty("借款合同生效时间")
	private String effectiveDate;
	@ApiModelProperty("借款人地址")
	private String address;

	@Getter
	@Setter
	@ApiModel("信用借投资人")
	public static class InvestUserVO {

		@ApiModelProperty("投资人ID")
		private String investId;

		@ApiModelProperty("投资人姓名")
		private String  investName;

		@ApiModelProperty("投资金额")
		private BigDecimal investAmount;

	}
}
